package org.example.exception;

public class CheckedException {
    public static int createCheckedException() throws Exception {
        throw new Exception("CheckedException");
    }

    public static int createCheckedException2() throws IllegalAccessException {
        throw new IllegalAccessException("CheckedException");
    }


}
